import request from '@/utils/request'
import defaultSettings from '@/settings'

// 获取路由
export const getRouters = () => {
  return request({
    url: `${defaultSettings.ctx.authorityApp}/s/indexMenu`,
    method: 'get'
  })
}
export function getCanClickMenuList() {
  return request({
    url: `${defaultSettings.ctx.authorityApp}/s/canClickMenuList`,
    method: 'get'
  })
}
